package com.leather.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
*
*  @author kevin
*/
@Data
@TableName("quan")
public class Quan implements Serializable {

    private static final long serialVersionUID = 1552291051794L;


    /**
    * 主键
    * 默认自增主键
    * isNullAble:0
    */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
    * 发布人id
    * isNullAble:0
    */
    private Integer userId;

    /**
    * 圈详情
    * isNullAble:1
    */
    private String quanDesc;

    /**
    * 缩略图
    * isNullAble:1,defaultVal:
    */
    private String quanImgUrl;

    /**
    * 创建时间
    * isNullAble:1
    */
    private Date createTime;

    /**
    * 
    * isNullAble:1
    */
    private Date updateTime;

    /**
    * 点赞数
    * isNullAble:1,defaultVal:0
    */
    private Integer stars;

    /**
    * 评论数
    * isNullAble:1,defaultVal:0
    */
    private Integer comments;

    /**
    * 删除标记 默认0
    * isNullAble:1,defaultVal:0
    */
    private Integer flag;

}
